Search
GradientBrush Constructor (Single[], Color[], Int32)
See Also
 






Initializes a new instance of the GradientBrush class.

Namespace: com.mindfusion.drawing
Package: com.mindfusion.drawing

 Syntax

Java  Copy Code

public GradientBrush (
    float[] fractions,
    Color[] colors,
    int angle
)

 Parameters

fractions

An array of float numbers specifying the positions of the colors along the gradient.

colors

An array of Color objects representing the colors of the gradient.

angle

An integer value specifying the gradient orientation.

 Remarks

Instances of the GradientBrush class created using this constructor are currently not serialized.

 See Also